from rest_framework import routers
from django.conf.urls import include,url
from .views import UserLogin,UserRegister,UserRegisterCaptchaCreateViewSet,UserRegisterV2
router = routers.DefaultRouter()


router.register(r'captcha/register',UserRegisterCaptchaCreateViewSet)


urlpatterns = [
    url(r'login/$',UserLogin.as_view()),
    url(r'^register/$',UserRegisterV2.as_view()),
    url(r'^', include(router.urls)),
]